package com.jp.knowledge.model;

import java.util.List;

/**
 * Created by 528787067@qq.com on 2017/8/14.
 */

public class AreaModel{

	/**
	 * name : 安徽省
	 * city : [{"name":"安庆市","district":[{"name":"枞阳县","zipcode":"246000"},{"name":"大观区","zipcode":"246000"},{"name":"怀宁县","zipcode":"246000"},{"name":"潜山县","zipcode":"246000"},{"name":"宿松县","zipcode":"246000"},{"name":"太湖县","zipcode":"246000"},{"name":"桐城市","zipcode":"246000"},{"name":"望江县","zipcode":"246000"},{"name":"宜秀区","zipcode":"246000"},{"name":"迎江区","zipcode":"246000"},{"name":"岳西县","zipcode":"246000"},{"name":"其他","zipcode":"246000"}]},{"name":"蚌埠市","district":[{"name":"蚌山区","zipcode":"233000"},{"name":"固镇县","zipcode":"233000"},{"name":"怀远县","zipcode":"233000"},{"name":"淮上区","zipcode":"233000"},{"name":"龙子湖区","zipcode":"233000"},{"name":"五河县","zipcode":"233000"},{"name":"禹会区","zipcode":"233000"},{"name":"其他","zipcode":"233000"}]},{"name":"亳州市","district":[{"name":"利辛县","zipcode":"236000"},{"name":"蒙城县","zipcode":"236000"},{"name":"谯城区","zipcode":"236000"},{"name":"涡阳县","zipcode":"236000"},{"name":"其他","zipcode":"236000"}]},{"name":"巢湖市","district":[{"name":"含山县","zipcode":"238000"},{"name":"和县","zipcode":"238000"},{"name":"居巢区","zipcode":"238000"},{"name":"庐江县","zipcode":"238000"},{"name":"无为县","zipcode":"238000"},{"name":"其他","zipcode":"238000"}]},{"name":"池州市","district":[{"name":"东至县","zipcode":"247100"},{"name":"贵池区","zipcode":"247100"},{"name":"青阳县","zipcode":"247100"},{"name":"石台县","zipcode":"247100"},{"name":"其他","zipcode":"247100"}]},{"name":"滁州市","district":[{"name":"定远县","zipcode":"239000"},{"name":"凤阳县","zipcode":"239000"},{"name":"来安县","zipcode":"239000"},{"name":"琅琊区","zipcode":"239000"},{"name":"明光市","zipcode":"239000"},{"name":"南谯区","zipcode":"239000"},{"name":"全椒县","zipcode":"239000"},{"name":"天长市","zipcode":"239000"},{"name":"其他","zipcode":"239000"}]},{"name":"阜阳市","district":[{"name":"阜南县","zipcode":"236100"},{"name":"界首市","zipcode":"236100"},{"name":"临泉县","zipcode":"236100"},{"name":"太和县","zipcode":"236100"},{"name":"颍东区","zipcode":"236100"},{"name":"颍泉区","zipcode":"236100"},{"name":"颍上县","zipcode":"236100"},{"name":"颍州区","zipcode":"236100"},{"name":"其他","zipcode":"236100"}]},{"name":"合肥市","district":[{"name":"包河区","zipcode":"230000"},{"name":"长丰县","zipcode":"230000"},{"name":"肥东县","zipcode":"230000"},{"name":"肥西县","zipcode":"230000"},{"name":"庐阳区","zipcode":"230000"},{"name":"蜀山区","zipcode":"230000"},{"name":"瑶海区","zipcode":"230000"},{"name":"其他","zipcode":"230000"}]},{"name":"淮北市","district":[{"name":"杜集区","zipcode":"235000"},{"name":"烈山区","zipcode":"235000"},{"name":"濉溪县","zipcode":"235000"},{"name":"相山区","zipcode":"235000"},{"name":"其他","zipcode":"235000"}]},{"name":"淮南市","district":[{"name":"八公山区","zipcode":"232000"},{"name":"大通区","zipcode":"232000"},{"name":"凤台县","zipcode":"232000"},{"name":"潘集区","zipcode":"232000"},{"name":"田家庵区","zipcode":"232000"},{"name":"谢家集区","zipcode":"232000"},{"name":"其他","zipcode":"232000"}]},{"name":"黄山市","district":[{"name":"黄山区","zipcode":"242700"},{"name":"徽州区","zipcode":"242700"},{"name":"祁门县","zipcode":"242700"},{"name":"屯溪区","zipcode":"242700"},{"name":"歙县","zipcode":"242700"},{"name":"休宁县","zipcode":"242700"},{"name":"黟县","zipcode":"242700"},{"name":"其他","zipcode":"242700"}]},{"name":"六安市","district":[{"name":"霍邱县","zipcode":"237000"},{"name":"霍山县","zipcode":"237000"},{"name":"金安区","zipcode":"237000"},{"name":"金寨县","zipcode":"237000"},{"name":"寿县","zipcode":"237000"},{"name":"舒城县","zipcode":"237000"},{"name":"裕安区","zipcode":"237000"},{"name":"其他","zipcode":"237000"}]},{"name":"马鞍山市","district":[{"name":"当涂县","zipcode":"243000"},{"name":"花山区","zipcode":"243000"},{"name":"金家庄区","zipcode":"243000"},{"name":"雨山区","zipcode":"243000"},{"name":"其他","zipcode":"243000"}]},{"name":"宿州市","district":[{"name":"砀山县","zipcode":"234100"},{"name":"灵璧县","zipcode":"234100"},{"name":"泗县","zipcode":"234100"},{"name":"萧县","zipcode":"234100"},{"name":"墉桥区","zipcode":"234100"},{"name":"其他","zipcode":"234100"}]},{"name":"铜陵市","district":[{"name":"郊区","zipcode":"244000"},{"name":"狮子山区","zipcode":"244000"},{"name":"铜官山区","zipcode":"244000"},{"name":"铜陵县","zipcode":"244000"},{"name":"其他","zipcode":"244000"}]},{"name":"芜湖市","district":[{"name":"繁昌县","zipcode":"241000"},{"name":"镜湖区","zipcode":"241000"},{"name":"鸠江区","zipcode":"241000"},{"name":"南陵县","zipcode":"241000"},{"name":"三山区","zipcode":"241000"},{"name":"芜湖县","zipcode":"241000"},{"name":"弋江区","zipcode":"241000"},{"name":"其他","zipcode":"241000"}]},{"name":"宣城市","district":[{"name":"广德县","zipcode":"366000"},{"name":"绩溪县","zipcode":"366000"},{"name":"泾县","zipcode":"366000"},{"name":"旌德县","zipcode":"366000"},{"name":"郎溪县","zipcode":"366000"},{"name":"宁国市","zipcode":"366000"},{"name":"宣州区","zipcode":"366000"},{"name":"其他","zipcode":"366000"}]}]
	 */

	private String name;
	private List<CityBean> city;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<CityBean> getCity() {
		return city;
	}

	public void setCity(List<CityBean> city) {
		this.city = city;
	}

	public static class CityBean {
		/**
		 * name : 安庆市
		 * district : [{"name":"枞阳县","zipcode":"246000"},{"name":"大观区","zipcode":"246000"},{"name":"怀宁县","zipcode":"246000"},{"name":"潜山县","zipcode":"246000"},{"name":"宿松县","zipcode":"246000"},{"name":"太湖县","zipcode":"246000"},{"name":"桐城市","zipcode":"246000"},{"name":"望江县","zipcode":"246000"},{"name":"宜秀区","zipcode":"246000"},{"name":"迎江区","zipcode":"246000"},{"name":"岳西县","zipcode":"246000"},{"name":"其他","zipcode":"246000"}]
		 */

		private String name;
		private List<DistrictBean> district;

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public List<DistrictBean> getDistrict() {
			return district;
		}

		public void setDistrict(List<DistrictBean> district) {
			this.district = district;
		}

		public static class DistrictBean {
			/**
			 * name : 枞阳县
			 * zipcode : 246000
			 */

			private String name;
			private String zipcode;

			public String getName() {
				return name;
			}

			public void setName(String name) {
				this.name = name;
			}

			public String getZipcode() {
				return zipcode;
			}

			public void setZipcode(String zipcode) {
				this.zipcode = zipcode;
			}
		}
	}
}
